home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 748 / 748.xpi / content / install.xul < prev    next >
Extensible Markup Language  |  2010-02-11  |  3KB  |  76 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://mozapps/content/xpinstall/xpinstallConfirm.css" type="text/css"?>
  4. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  5. <?xml-stylesheet href="chrome://mozapps/skin/xpinstall/xpinstallConfirm.css" type="text/css"?>
  6.  
  7. <!DOCTYPE overlay SYSTEM "chrome://greasemonkey/locale/greasemonkey.dtd">
  8.  
  9. <dialog
  10.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.   xmlns:html="http://www.w3.org/1999/xhtml"
  12.  
  13.   id="greasemonkey"
  14.   title="&install.title;"
  15.   style="width: 32em; height:32em;"
  16.   onload="GMInstall.init();"
  17.   ondialogaccept="return GMInstall.onOK();"
  18.   ondialogcancel="return GMInstall.onCancel();"
  19.   ondialogextra1="return GMInstall.onShowSource();"
  20.   buttons="accept,cancel,extra1"
  21.   buttonlabelaccept="&install.installbutton;"
  22.   buttonlabelextra1="&install.showscriptsource;"
  23.   defaultButton="accept">
  24.  
  25.   <stringbundle id="gm-browser-bundle" src="chrome://greasemonkey/locale/gm-browser.properties" />
  26.  
  27.   <script type="application/x-javascript" src="chrome://greasemonkey/content/utils.js" />
  28.   <script type="application/x-javascript" src="chrome://greasemonkey/content/scriptdownloader.js" />
  29.   <script type="application/x-javascript" src="chrome://greasemonkey/content/prefmanager.js" />
  30.   <script type="application/x-javascript" src="chrome://greasemonkey/content/install.js" />
  31.  
  32.   <vbox id="dialogContentBox"
  33.     flex="1"
  34.   >
  35.     <description id="heading"
  36.       style="margin-bottom:1em" />
  37.     <vbox id="itemBox"
  38.       flex="1"
  39.       style="padding:0; overflow:auto; -moz-appearance:textfield; margin:2px 4px"
  40.     >
  41.       <vbox
  42.         style="background:InfoBackground; color: InfoText; border-bottom:1px black dotted; padding:0.5em; margin:0; margin-bottom:0.5em"
  43.       >
  44.         <description id="scriptDescription"
  45.           style="margin:0" />
  46.       </vbox>
  47.       <vbox id="includes"
  48.         style="margin-bottom:1em; display:none"
  49.       >
  50.         <label
  51.           value="&install.runson;" />
  52.         <description id="includes-desc"
  53.           style="font-style:italic" />
  54.       </vbox>
  55.       <vbox id="excludes"
  56.         style="display:none"
  57.       >
  58.         <label
  59.           value="&install.butnoton;" />
  60.         <description id="excludes-desc"
  61.           style="font-style:italic" />
  62.       </vbox>
  63.       <spacer flex="1" />
  64.     </vbox>
  65.  
  66.     <description
  67.       style="margin-top:1em"
  68.     >&install.warning1;</description>
  69.     <description
  70.       style="margin-bottom:1em"
  71.       class="warning"
  72.     >&install.warning2;</description>
  73.   </vbox>
  74.  
  75. </dialog>
  76.